package com.tjtt.tdm.fileupload.bean;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * TdmAttachment entity. @author MyEclipse Persistence Tools
 */

public class TdmAttachment implements java.io.Serializable {

	// Fields

	private String id;
	private String fileName;
	private String fileType;
	private String fileVersion;
	private String filePath;
	private String fileDesc;
	private Timestamp createTime;
	private BigDecimal createUserid;
	private String createUsername;
	private BigDecimal codeId;
	private String fileLength;
	private BigDecimal state;
	private String columnName;

	// Constructors

	/** default constructor */
	public TdmAttachment() {
	}

	/** full constructor */
	public TdmAttachment(String fileName, String fileType, String fileVersion,
			String filePath, String fileDesc, Timestamp createTime,
			BigDecimal createUserid, String createUsername, BigDecimal codeId,
			String fileLength) {
		this.fileName = fileName;
		this.fileType = fileType;
		this.fileVersion = fileVersion;
		this.filePath = filePath;
		this.fileDesc = fileDesc;
		this.createTime = createTime;
		this.createUserid = createUserid;
		this.createUsername = createUsername;
		this.codeId = codeId;
		this.fileLength = fileLength;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFileName() {
		return this.fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileType() {
		return this.fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getFileVersion() {
		return this.fileVersion;
	}

	public void setFileVersion(String fileVersion) {
		this.fileVersion = fileVersion;
	}

	public String getFilePath() {
		return this.filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getFileDesc() {
		return this.fileDesc;
	}

	public void setFileDesc(String fileDesc) {
		this.fileDesc = fileDesc;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public BigDecimal getCreateUserid() {
		return this.createUserid;
	}

	public void setCreateUserid(BigDecimal createUserid) {
		this.createUserid = createUserid;
	}

	public String getCreateUsername() {
		return this.createUsername;
	}

	public void setCreateUsername(String createUsername) {
		this.createUsername = createUsername;
	}

	public BigDecimal getCodeId() {
		return this.codeId;
	}

	public void setCodeId(BigDecimal codeId) {
		this.codeId = codeId;
	}

	public String getFileLength() {
		return this.fileLength;
	}

	public void setFileLength(String fileLength) {
		this.fileLength = fileLength;
	}

	public BigDecimal getState() {
		return state;
	}

	public void setState(BigDecimal state) {
		this.state = state;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

}